package cn.chengpengper.seckill.reservation.domain.event;

import cn.chengpengper.seckill.common.event.SeckillBaseEvent;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * @author chengpeng.hu
 */
public class SeckillReservationUserEvent extends SeckillBaseEvent {
    /**
     * 商品id
     */
    private Long goodsId;

    public SeckillReservationUserEvent(Long id, Long goodsId, Integer status, @JSONField(name = "destination") String topicEvent) {
        super(id, status, topicEvent);
        this.goodsId = goodsId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }
}

